package KTP;

import java.io.File;

public class Lx02 {
    public static void main(String[] args) {
        File file = new File("D:"+File.separator+"One"
                +File.separator+"Two");
        file.mkdirs();
        file = new File("D:\\One\\Two"+ File.separator+"a"+ File.separator+"b");
        file.mkdirs();
    }
    public static void main2(String[] args) {
        File file = new File("D:"+File.separator+"One"
                                +File.separator+"Two"
                                +File.separator+"Three");
        file.mkdirs();
    }
    public static void main1(String[] args) {
        File file = new File("D:"+File.separator+"docum");
        file.mkdir();
        file = new File("D:\\docum"+ File.separator+"C");
        file.mkdir();
        file = new File("D:\\docum"+ File.separator+"java");
        file.mkdir();
        file = new File("D:\\docum"+ File.separator+"python");
        file.mkdir();
    }
}
